define(function (require, exports, module) {



    var _ = require("http://localhost:8180//git-my/vue-ladder/src/lib/lodash.js");


    // 1.创建一个组件构造器
    var abc = Vue.extend({
        template: '<div><slot></slot></div>'
    })

    // 2.注册组件，并指定组件的标签，组件的HTML标签为<my-component>
    Vue.component('my-abc', abc)



    var VueComponent = new Vue({
        el: '#app',
        data: {
            tableData: [{
                id: '1001',
                supplierShortName: '江苏梦兰神彩',
                chargeUserName: '王孟贵',
                chargeUserPhone: '18627726186',
                createTime: '2017-10-01',
                isGathered: '集中布曙',
                foreIdentity: 'm',
                opt: '编辑'
            }, {
                id: '1001',
                supplierShortName: '南京小月月',
                chargeUserName: '李小月',
                chargeUserPhone: '18659458654',
                createTime: '2017-10-01',
                isGathered: '自行布曙',
                foreIdentity: 'yue',
                opt: '编辑'
            }]
        },
        methods: {
            handleEditClick: function (row) {
                var config = {
                    url: '04-supplierInfo.html',
                    menuName: row.supplierShortName
                };
                this.openWin(config);
            }

        }

    });

});